package com.briup.cms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.briup.cms.domain.Article;
import com.baomidou.mybatisplus.extension.service.IService;
import com.briup.cms.domain.param.ArticleQueryParam;
import com.briup.cms.domain.vo.ArticleVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author briup
 * @since 2023-03-09
 */
public interface IArticleService{
    public void saveOrUpdate(Article article);
    public void deleteById(Long id);
    public void deleteByIdAll(List<Long> ids);
    public IPage<Article> query(ArticleQueryParam param);
    public ArticleVo queryById(Long id);
}
